package cn.pengyinrui.pethome.base.query;

import lombok.Data;

@Data
public class BaseQuery {
    // 分页
    private Integer currentPage = 1;
    private Integer pageSize = 10;
    public Integer getStart(){
        return (currentPage-1)*pageSize;
    }

    // 关键字
    private String keyWord;
}
